<div class="g12 nodrop" style="margin-bottom: 43px;">

    <h1> Pregled rubrika </h1>

    <p style="line-height: 13px;">

        Pregled i ažuriranje rubrika

    </p>

        <!--COLUMNS & TAGS-->
        <div style="width: 100%;">

            <div id="srvrserror-3"></div>

            <div class="accordion_tmp" id="columns">

                <select name="column" id="column" style="color: #555555; line-height: 16px; padding: 3px 0 0 3px; width: 17em;">
                    <option value="0">-- Molim odaberite</option>
                    <?
                        foreach($columns as $column){

                            if($column['name']!="tmp"){

                                echo '<optgroup label="'.$column["name"].'">';

                                foreach($subcolumns as $subcolumn){

                                    if($subcolumn['column_id']==$column['id']){
                                    ?><option value="<?=$subcolumn['id'];?>"><?=$subcolumn['name'];?></option><?

                                    }

                                }

                            }
                        }
                    ?>
                </select>

            </div> 

            <hr>

            <button id="conf_del_category" class="small">Obriši</button>
            <button id="conf_edit_category" class="small">Ažuriraj</button>



        </div>

</div>
